package com.itdianzi.domain.opinion;


import java.io.Serializable;
import java.util.Date;

public class Opinion implements Serializable {

    private String id;

    private String userName; // 提出人

    private String companyId;

    private String companyName;

    private Integer stateU; //用户状态 1未读 0已读

    private Integer stateS; //系统反馈状态 1未读 0已读

    private Date inputTime; //提出时间

    private Integer ideaType; //1用户/0系统 反馈

    private String idea; //反馈内容

    private Integer tel; //联系电话

    private String time; //解析后的时间

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public Integer getStateU() {
        return stateU;
    }

    public void setStateU(Integer stateU) {
        this.stateU = stateU;
    }

    public Integer getStateS() {
        return stateS;
    }

    public void setStateS(Integer stateS) {
        this.stateS = stateS;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public Integer getIdeaType() {
        return ideaType;
    }

    public void setIdeaType(Integer ideaType) {
        this.ideaType = ideaType;
    }

    public String getIdea() {
        return idea;
    }

    public void setIdea(String idea) {
        this.idea = idea == null ? null : idea.trim();
    }

    public Integer getTel() {
        return tel;
    }

    public void setTel(Integer tel) {
        this.tel = tel;
    }

    @Override
    public String toString() {
        return "Opinion{" +
                "id='" + id + '\'' +
                ", userName='" + userName + '\'' +
                ", companyId='" + companyId + '\'' +
                ", companyName='" + companyName + '\'' +
                ", stateU=" + stateU +
                ", stateS=" + stateS +
                ", inputTime=" + inputTime +
                ", ideaType=" + ideaType +
                ", idea='" + idea + '\'' +
                ", tel=" + tel +
                '}';
    }
}